﻿@{
    ViewBag.Title = "知识管理";
}



    @section PSI_JS {
        <script src="@Url.Content("~/Scripts/PSI/App.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>

        <script src="@Url.Content("~/Scripts/PSI/Knowledge/KnowledgeMain.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
        <style type="text/css">
            .search-item {
                font: normal 11px tahoma, arial, helvetica, sans-serif;
                padding: 3px 10px 3px 10px;
                border: 1px solid #fff;
                border-bottom: 1px solid #eeeeee;
                white-space: normal;
                color: #555;
            }

                .search-item h3 {
                    display: block;
                    font: inherit;
                    font-weight: bold;
                    color: #222;
                }

                .search-item h3 span {
                    float: right;
                    font-weight: normal;
                    margin: 0 0 5px 5px;
                    width: 100px;
                    display: block;
                    clear: none;
                }

        </style>
    }

    <script type="text/javascript">
        Ext.onReady(function () {
            var app = Ext.create("PSI.App", {
                userName: "@ViewBag.UserName"
            });

            app.createMainUI();

            var mp = app.getMainPanel();

            var id = "@ViewBag.id";

            var mainForm = Ext.create("PSI.Knowledge.KnowledgeMain", {kid:id});
            mainForm.createUI();

            mp.add(mainForm.getMainPanel());
        });
    </script>

